package ai.reseaux;

import org.encog.engine.network.activation.ActivationSigmoid;
import org.encog.neural.networks.BasicNetwork;
import org.encog.neural.networks.layers.BasicLayer;

public class PerceptronSimple extends ReseauAbstract {

    private final int sizeFilter = 2;
    public final int EntryNb = 784;
    public final int OutNb = 10;
    
	public PerceptronSimple() {
		BasicNetwork network = new BasicNetwork();
		network.addLayer(new BasicLayer(null,false,EntryNb/(sizeFilter*sizeFilter)));
		network.addLayer(new BasicLayer(new ActivationSigmoid(),true,OutNb));
		network.getStructure().finalizeStructure();
		network.reset();
		this.network = network;
	}

}
